/*
 * YetAnotherDummyValidatedBean.java
 * 
 * Created on 08-Nov-2007, 16:44:25
 *
 * Copyright (C)
 *
 * This program is free software; you can redistribute it and/or modify it under
 * the terms of the GNU General Public License as published by the Free Software
 * Foundation; either version 2 of the License, or (at your option) any later
 * version.
 *
 * This program is distributed in the hope that it will be useful, but WITHOUT
 * ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
 * FOR A PARTICULAR PURPOSE. See the GNU General Public License for more
 * details.
 *
 * You should have received a copy of the GNU General Public License along with
 * this program; if not, write to the Free Software Foundation, Inc., 59 Temple
 * Place, Suite 330, Boston, MA 02111-1307 USA
 */


package com.grubby.databean.constraints.annotations;

import com.grubby.databean.constraints.annotation.MaxLength;
import com.grubby.databean.constraints.annotation.MinLength;
import com.grubby.databean.constraints.validation.ConstraintViolation;

/**
 * This is a bean used to test the validation annotations in the unit test suite
 * A. HARMEL-LAW. E: andrew.harmel.law@gmail.com
 * @version 0.1
 */
public class YetAnotherDummyValidatedBean {

    private String stringOfSomeMaxLength;
    private String stringOfSomeMinLength;
    
    public YetAnotherDummyValidatedBean() {
    }

    public String getStringOfSomeMaxLength() {
        return stringOfSomeMaxLength;
    }

    @MaxLength(10)
    public void setStringOfSomeLength(String stringOfSomeMaxLength) {
        this.stringOfSomeMaxLength = stringOfSomeMaxLength;
    }
    
    public String getStringOfSomeMinLength() {
        return stringOfSomeMinLength;
    }

    @MinLength(10)
    public void setStringOfSomeMinLength(String stringOfSomeMinLength) {
        this.stringOfSomeMinLength = stringOfSomeMinLength;
    }
}
